package com.android.delivery.entity;


import android.os.Parcel;
import android.os.Parcelable;

public class NetHomePb implements Parcelable {

    /**
     * 进度数
     */
    public int target;

    /**
     * 进度获取金额
     */
    public int award;

    protected NetHomePb(Parcel in) {
        target = in.readInt();
        award = in.readInt();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(target);
        dest.writeInt(award);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<NetHomePb> CREATOR = new Creator<NetHomePb>() {
        @Override
        public NetHomePb createFromParcel(Parcel in) {
            return new NetHomePb(in);
        }

        @Override
        public NetHomePb[] newArray(int size) {
            return new NetHomePb[size];
        }
    };
}
